//
//  ZctViewController.m
//  feicuiwan
//
//  Created by ZhengYing on 2017/7/6.
//  Copyright © 2017年 zy. All rights reserved.
//
#import "ZYKrpanoButton.h"
#import "ZctViewController.h"
#import "ZYRotateVeiw.h"
#import "PmtViewController.h"

@interface ZctViewController ()
@property (weak, nonatomic) IBOutlet UIView *contentView;
@property (weak, nonatomic) IBOutlet ZYKrpanoButton *panoBtn;

@end

@implementation ZctViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    ZYRotateVeiw *rotate = [[ZYRotateVeiw alloc]initWithFrame:self.contentView.bounds Path:[NSString stringWithFormat:@"skin/zct/%@",self.HX] maxCount:80];
    [self.contentView addSubview:rotate];
    self.panoBtn.path = [NSString stringWithFormat:@"skin/sn/%@/vtour/tour.html",self.HX];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    if ([segue.destinationViewController isKindOfClass:[PmtViewController class]]) {
        ((PmtViewController *)segue.destinationViewController).path =self.HX;
    }
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}


@end
